[XEN][POWERPC] Fix allocation error for xencomm "mini" descriptors.
authorHollis Blanchard <hollisb@us.ibm.com>
Fri, 8 Sep 2006 15:23:56 +0000 (10:23 -0500)
committerHollis Blanchard <hollisb@us.ibm.com>
Fri, 8 Sep 2006 15:23:56 +0000 (10:23 -0500)
commitd13cd02ab938dc75aef281400064d9923ae58a6b
treecfb4bc85c871828030efa5a206fa6555f2c93ba9
parent056154024c1801f6abd54f836ebc2d796f92fe36
[XEN][POWERPC] Fix allocation error for xencomm "mini" descriptors.

Previous code worked correctly only if the allocated structure fit in the same
page as the base address. If the structure did not fit, the computation for the
allocation was incorrect. Noticed by Kiyokuni KAWACHIYA <KAWATIYA@jp.ibm.com>.

Signed-off-by: Maria Butrico <butrico@watson.ibm.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
xen/arch/powerpc/of_handler/xencomm.c